<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" contentType="text/html; charset=utf-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<% String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+request.getContextPath()+"/"; %> 
<html>
<jsp:include page="../head.jsp"></jsp:include>
<body>
<br/><br/><br/><a href='../TbContractProductPriceServlet?method=showadd'>添加</a><br/>
<table>
<tr>
    <td>产品价格中间编号</td>
    <td>对应合同编号</td>
    <td>修改</td>
    <td>删除</td></tr>

<c:forEach items="${sessionScope.tbContractProductPriceList==null?'':sessionScope.tbContractProductPriceList}" var="tbContractProductPrice" varStatus="status">
<tr>
    <td>${tbContractProductPrice.productPriceMiddleId}</td>
    <td>${tbContractProductPrice.contractCode}</td>
    <td><a href='../TbContractProductPriceServlet?method=listById&contractProductPriceId=${tbContractProductPrice.contractProductPriceId}'>修改</a></td>
    <td><a href='' onclick='if(confirm("确定要删除?"))window.location="../TbContractProductPriceServlet?method=del&delIds=${tbContractProductPrice.contractProductPriceId}";'>删除</a></td>
</tr>
</c:forEach>
</table>
<jsp:include page="../foot.jsp"></jsp:include>
</body>
</html>